package com.yhsoft.mall.controller.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class BrandBarInVo {

    @ApiModelProperty("专题主键id,必填")
    @NotNull(message = "专题主键id不能为空")
    private Integer id;

    @ApiModelProperty("模块内容主键id,新增不填,修改必填")
    private Integer moduleId;

    @ApiModelProperty("是否显示 0:不显示 1：显示")
    private Integer isEnable;

    @ApiModelProperty("内容")
    private List<BrandBarContentLIstInVo> content;
}
